package eventdisplay;

import processing.core.*;

public class TrackList {

    PApplet parent;
    String[] lines;
    String[] fileurl;
    String[] listOfFiles;
    String[] listOfUrls;
    String[] values;

    TrackList(PApplet p, String listfileName) {
        parent = p;
        lines = parent.loadStrings(listfileName);
        listOfFiles = new String[lines.length];
        listOfUrls = new String[lines.length];
        
        for (int i = 0; i < lines.length; i++) {
            fileurl = lines[i].split("=");
            listOfFiles[i] = fileurl[0];
            listOfUrls[i] = fileurl[1];
        }

    }
}
